package com.entity;

import java.util.ArrayList;
import java.util.List;

public class MemberExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public MemberExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMnoIsNull() {
            addCriterion("mno is null");
            return (Criteria) this;
        }

        public Criteria andMnoIsNotNull() {
            addCriterion("mno is not null");
            return (Criteria) this;
        }

        public Criteria andMnoEqualTo(String value) {
            addCriterion("mno =", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotEqualTo(String value) {
            addCriterion("mno <>", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoGreaterThan(String value) {
            addCriterion("mno >", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoGreaterThanOrEqualTo(String value) {
            addCriterion("mno >=", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoLessThan(String value) {
            addCriterion("mno <", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoLessThanOrEqualTo(String value) {
            addCriterion("mno <=", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoLike(String value) {
            addCriterion("mno like", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotLike(String value) {
            addCriterion("mno not like", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoIn(List<String> values) {
            addCriterion("mno in", values, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotIn(List<String> values) {
            addCriterion("mno not in", values, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoBetween(String value1, String value2) {
            addCriterion("mno between", value1, value2, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotBetween(String value1, String value2) {
            addCriterion("mno not between", value1, value2, "mno");
            return (Criteria) this;
        }

        public Criteria andMnameIsNull() {
            addCriterion("mName is null");
            return (Criteria) this;
        }

        public Criteria andMnameIsNotNull() {
            addCriterion("mName is not null");
            return (Criteria) this;
        }

        public Criteria andMnameEqualTo(String value) {
            addCriterion("mName =", value, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameNotEqualTo(String value) {
            addCriterion("mName <>", value, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameGreaterThan(String value) {
            addCriterion("mName >", value, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameGreaterThanOrEqualTo(String value) {
            addCriterion("mName >=", value, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameLessThan(String value) {
            addCriterion("mName <", value, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameLessThanOrEqualTo(String value) {
            addCriterion("mName <=", value, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameLike(String value) {
            addCriterion("mName like", value, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameNotLike(String value) {
            addCriterion("mName not like", value, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameIn(List<String> values) {
            addCriterion("mName in", values, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameNotIn(List<String> values) {
            addCriterion("mName not in", values, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameBetween(String value1, String value2) {
            addCriterion("mName between", value1, value2, "mname");
            return (Criteria) this;
        }

        public Criteria andMnameNotBetween(String value1, String value2) {
            addCriterion("mName not between", value1, value2, "mname");
            return (Criteria) this;
        }

        public Criteria andMdescIsNull() {
            addCriterion("mDesc is null");
            return (Criteria) this;
        }

        public Criteria andMdescIsNotNull() {
            addCriterion("mDesc is not null");
            return (Criteria) this;
        }

        public Criteria andMdescEqualTo(String value) {
            addCriterion("mDesc =", value, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescNotEqualTo(String value) {
            addCriterion("mDesc <>", value, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescGreaterThan(String value) {
            addCriterion("mDesc >", value, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescGreaterThanOrEqualTo(String value) {
            addCriterion("mDesc >=", value, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescLessThan(String value) {
            addCriterion("mDesc <", value, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescLessThanOrEqualTo(String value) {
            addCriterion("mDesc <=", value, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescLike(String value) {
            addCriterion("mDesc like", value, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescNotLike(String value) {
            addCriterion("mDesc not like", value, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescIn(List<String> values) {
            addCriterion("mDesc in", values, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescNotIn(List<String> values) {
            addCriterion("mDesc not in", values, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescBetween(String value1, String value2) {
            addCriterion("mDesc between", value1, value2, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMdescNotBetween(String value1, String value2) {
            addCriterion("mDesc not between", value1, value2, "mdesc");
            return (Criteria) this;
        }

        public Criteria andMimgIsNull() {
            addCriterion("mImg is null");
            return (Criteria) this;
        }

        public Criteria andMimgIsNotNull() {
            addCriterion("mImg is not null");
            return (Criteria) this;
        }

        public Criteria andMimgEqualTo(String value) {
            addCriterion("mImg =", value, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgNotEqualTo(String value) {
            addCriterion("mImg <>", value, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgGreaterThan(String value) {
            addCriterion("mImg >", value, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgGreaterThanOrEqualTo(String value) {
            addCriterion("mImg >=", value, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgLessThan(String value) {
            addCriterion("mImg <", value, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgLessThanOrEqualTo(String value) {
            addCriterion("mImg <=", value, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgLike(String value) {
            addCriterion("mImg like", value, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgNotLike(String value) {
            addCriterion("mImg not like", value, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgIn(List<String> values) {
            addCriterion("mImg in", values, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgNotIn(List<String> values) {
            addCriterion("mImg not in", values, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgBetween(String value1, String value2) {
            addCriterion("mImg between", value1, value2, "mimg");
            return (Criteria) this;
        }

        public Criteria andMimgNotBetween(String value1, String value2) {
            addCriterion("mImg not between", value1, value2, "mimg");
            return (Criteria) this;
        }

        public Criteria andArbegintimeIsNull() {
            addCriterion("arBeginTime is null");
            return (Criteria) this;
        }

        public Criteria andArbegintimeIsNotNull() {
            addCriterion("arBeginTime is not null");
            return (Criteria) this;
        }

        public Criteria andArbegintimeEqualTo(String value) {
            addCriterion("arBeginTime =", value, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeNotEqualTo(String value) {
            addCriterion("arBeginTime <>", value, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeGreaterThan(String value) {
            addCriterion("arBeginTime >", value, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeGreaterThanOrEqualTo(String value) {
            addCriterion("arBeginTime >=", value, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeLessThan(String value) {
            addCriterion("arBeginTime <", value, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeLessThanOrEqualTo(String value) {
            addCriterion("arBeginTime <=", value, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeLike(String value) {
            addCriterion("arBeginTime like", value, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeNotLike(String value) {
            addCriterion("arBeginTime not like", value, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeIn(List<String> values) {
            addCriterion("arBeginTime in", values, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeNotIn(List<String> values) {
            addCriterion("arBeginTime not in", values, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeBetween(String value1, String value2) {
            addCriterion("arBeginTime between", value1, value2, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andArbegintimeNotBetween(String value1, String value2) {
            addCriterion("arBeginTime not between", value1, value2, "arbegintime");
            return (Criteria) this;
        }

        public Criteria andMwatchwordIsNull() {
            addCriterion("mWatchword is null");
            return (Criteria) this;
        }

        public Criteria andMwatchwordIsNotNull() {
            addCriterion("mWatchword is not null");
            return (Criteria) this;
        }

        public Criteria andMwatchwordEqualTo(String value) {
            addCriterion("mWatchword =", value, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordNotEqualTo(String value) {
            addCriterion("mWatchword <>", value, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordGreaterThan(String value) {
            addCriterion("mWatchword >", value, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordGreaterThanOrEqualTo(String value) {
            addCriterion("mWatchword >=", value, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordLessThan(String value) {
            addCriterion("mWatchword <", value, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordLessThanOrEqualTo(String value) {
            addCriterion("mWatchword <=", value, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordLike(String value) {
            addCriterion("mWatchword like", value, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordNotLike(String value) {
            addCriterion("mWatchword not like", value, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordIn(List<String> values) {
            addCriterion("mWatchword in", values, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordNotIn(List<String> values) {
            addCriterion("mWatchword not in", values, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordBetween(String value1, String value2) {
            addCriterion("mWatchword between", value1, value2, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMwatchwordNotBetween(String value1, String value2) {
            addCriterion("mWatchword not between", value1, value2, "mwatchword");
            return (Criteria) this;
        }

        public Criteria andMpwdIsNull() {
            addCriterion("mpwd is null");
            return (Criteria) this;
        }

        public Criteria andMpwdIsNotNull() {
            addCriterion("mpwd is not null");
            return (Criteria) this;
        }

        public Criteria andMpwdEqualTo(String value) {
            addCriterion("mpwd =", value, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdNotEqualTo(String value) {
            addCriterion("mpwd <>", value, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdGreaterThan(String value) {
            addCriterion("mpwd >", value, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdGreaterThanOrEqualTo(String value) {
            addCriterion("mpwd >=", value, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdLessThan(String value) {
            addCriterion("mpwd <", value, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdLessThanOrEqualTo(String value) {
            addCriterion("mpwd <=", value, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdLike(String value) {
            addCriterion("mpwd like", value, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdNotLike(String value) {
            addCriterion("mpwd not like", value, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdIn(List<String> values) {
            addCriterion("mpwd in", values, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdNotIn(List<String> values) {
            addCriterion("mpwd not in", values, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdBetween(String value1, String value2) {
            addCriterion("mpwd between", value1, value2, "mpwd");
            return (Criteria) this;
        }

        public Criteria andMpwdNotBetween(String value1, String value2) {
            addCriterion("mpwd not between", value1, value2, "mpwd");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}